﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Default2" ClientIDMode="Static" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form id="frm_main" runat="server">
    <div class="row fg-content-row">
        <div class="spacer">&nbsp;</div>
        <div class="large-12 column"><h2>Registration</h2></div>
        <div class="spacer">&nbsp;</div>
    </div>
    <div class="row">
        <div id="divError" runat="server" visible="false" class="large-12 columns">
            <div class="large-12 columns">
                <div data-alert class="alert-box alert round">
                  <asp:Literal ID="altError" runat="server"></asp:Literal>
                  <a href="#" class="close">&times;</a>
                </div>
            </div>
        </div>
        <div class="large-12 columns"> 
            <div class="large-6 medium-6 columns">
                <label>
                    Username: <span class="fg-required"><asp:RequiredFieldValidator ID="reqUsername" ControlToValidate="txtUsername" Display="Static" runat="server">*</asp:RequiredFieldValidator></span>
                    <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                </label> 
            </div>
        </div>
        <div class="large-12 columns"> 
            <div class="large-6 medium-6 columns">                
                <label>                
                    Email: <span class="fg-required"><asp:RequiredFieldValidator ID="reqEmail" ControlToValidate="txtEmail" Display="Static" runat="server">*</asp:RequiredFieldValidator></span>
                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>                    
                </label> 
            </div>
            <div class="label-6 medium-6 columns">
                <label>&nbsp;</label>
                <asp:RegularExpressionValidator
                    ID="revTxtEmail" runat="server" ControlToValidate="txtEmail" ErrorMessage="Invalid email address" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
            </div>
        </div>
        <div class="large-12 columns"> 
            <div class="large-6 medium-6 columns">                
                <label>                
                    Firstname:
                    <asp:TextBox ID="txtFirstname" runat="server"></asp:TextBox>
                </label> 
            </div>
            <div class="large-6 medium-6 columns">                
                <label>                
                    Lastname:
                    <asp:TextBox ID="txtLastname" runat="server"></asp:TextBox>
                </label> 
            </div>
        </div>
        <div class="large-12 columns">
            <div class="large-6 medium-6 small-8 columns">
                <label>Phone:
                    <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                </label>
            </div>
            <div class="large-6 medium-6 small-4 columns">  
                <label>&nbsp;</label>              
                <asp:CheckBox ID="chkWhatsApp" runat="server" /><label for="chkWhatsApp">WhatsApp?</label>
            </div>
        </div>
        <div class="large-12 columns">
            <div class="large-6 medium-6 columns">
                <label>Console:
                    <asp:DropDownList ID="ddlConsole" runat="server">
                        <asp:ListItem Value="PS4" Text="PS4" Enabled="true" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="XBOXONE" Text="Xbox One" Enabled="true"></asp:ListItem>
                        <asp:ListItem Value="PS3" Text="PS3" Enabled="true"></asp:ListItem>
                        <asp:ListItem Value="XBOX360" Text="Xbox 360" Enabled="true"></asp:ListItem>
                    </asp:DropDownList>   
                </label>
            </div>
            <div class="large-6 medium-6 columns">  
                <label>Gamertag/PSNID</label>              
                <asp:TextBox ID="txtConsoleUsername" runat="server"></asp:TextBox>
            </div>
        </div>
        <div class="large-12 columns">
            <div class="large-6 medium-6 columns">
                <label>SkillLevel
                    <asp:DropDownList ID="ddlSkill" runat="server">
                        <asp:ListItem Value="Amateur" Text="Amateur" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="Semi Pro" Text="Semi Pro"></asp:ListItem>
                        <asp:ListItem Value="Professional" Text="Professional"></asp:ListItem>
                        <asp:ListItem Value="World Class" Text="World Class"></asp:ListItem>
                        <asp:ListItem Value="Legendary" Text="Legendary"></asp:ListItem>
                    </asp:DropDownList>
                </label>
            </div>
        </div>
    </div>
    <div class="spacer">&nbsp;</div>
    <div class="row">
        <div class="large-12 columns">
            <div class="large-12 columns"><asp:Button ID="btnRegister" runat="server" Text="Register" CssClass="button" onclick="btnRegister_Click" /></div>
        </div>
    </div>
    <div class="spacer">&nbsp;</div>
</form>
</asp:Content>



